USE AdventureWorks2008;
GO
SELECT OrdD1.SalesOrderID, OrdD1.ProductID
FROM Sales.SalesOrderDetail OrdD1
WHERE OrdD1.OrderQty > ALL
      (SELECT OrdD2.OrderQty
       FROM Sales.SalesOrderDetail OrdD2 JOIN Production.Product Prd
             ON OrdD2.ProductID = Prd.ProductID
       WHERE Prd.Class = 'H')
GO
